int send_message(int msg,int param,void *data)
Parameter | Type | Description |
---|---|---|
msg | int | message id |
param | int | general parameter |
data | void * | general data pointer |
Returns a value from the plug-in dlls (0 if passed on all plug-in dlls, <>0 if some plug-in stoped message by returning <>0)
This function is used to send messages to the plug-in dlls. It will send the
message to all plug-in dlls included in flydllgroup class. The data pointer can
be used to send pointers to any type/size of data as all messages are local.
The send_message function will loop throught all plug-in dlls loaded, and for
each one, if the plug-in dll returns 0, message passes to the next plug-in dll
in the list, if it return <>0, the send_message function stops and returns
the value. So if return value is zero, it passed on all plug-in dlls.